﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interface_Tier;
using Transfer_Object_Tier;
using System.Data;
using Data_Access_Tier;


namespace Business_Tier
{
    public class BT_SOFTData : MarshalByRefObject, ISOFTData
    {
        SOFTData SOFT = new SOFTData();

        public int SOFT_Delete(int Id_Soft)
        {
            return SOFT.SOFT_Delete(Id_Soft);
        }
        public int SOFT_Disable(int Id_Soft, ref bool Enabled)
        {
            return 1;
        }
        public System.Data.DataSet SOFT_Get(int Id_Soft)
        {
            return SOFT.SOFT_Get(Id_Soft);
        }
        public System.Data.DataSet SOFT_GetList()
        {
            return SOFT.SOFT_GetList();
        }
        public int SOFT_Insert(int Id_Soft, string Name, string NewVersion, DateTime Date, string VerHistory)
        {
            return SOFT.SOFT_Insert(Id_Soft,Name,NewVersion,Date,VerHistory);
        }
        public int SOFT_Save(int Id_Soft, string Name, string NewVersion, DateTime Date, string VerHistory)
        {
            return SOFT.SOFT_Save(Id_Soft, Name, NewVersion, Date, VerHistory);
        }
        public int SOFT_Update(int Id_Soft, string Name, string NewVersion, DateTime Date, string VerHistory)
        {
            return SOFT.SOFT_Update(Id_Soft, Name, NewVersion, Date, VerHistory);
        }
    }
}
